        TEXT
main    EQU     *
        CALL NC, @branch
        LOAD R00, #100
        LOAD R12, #0
        ADD R00, @a
        SUB R00, +1[R12]
        NOP
        NOP
        PUSH #4
        PUSH @a
        LOAD R10, @a
        PUSH +1[R10]
        POP @c
        POP @d
        POP +4[R10]
        BRANCH NC, @fin
branch  LOAD R11, #2
        STORE R02, @a
        STORE R03, -1[R11]
        RET
fin     NOP
        HALT
        END

        DATA 30
a       WORD    15
        WORD    5
c       WORD    0
d       WORD    0
e       WORD    0
        END
